import BUS.DoanTau_BUS;
import BUS.Ghe_BUS;
import BUS.ToaTau_BUS;
import DTO.DoanTau_DTO;
import DTO.Ghe_DTO;
import DTO.ToaTau_DTO;
import java.awt.print.PrinterException;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author PhucKenNo1
 */
public class FormMain extends javax.swing.JFrame {
    /**
     * Creates new form FormMain
     */
    public FormMain() {
        initComponents();
        jTabbedChungTu.setVisible(false);
        for(int i=0; i<jTabbedChungTu.getTabCount(); i++){
             jTabbedChungTu.setEnabledAt(i, false);
        }
        jTabbedPaneDanhThu.setVisible(false);
        for(int i=0; i<jTabbedPaneDanhThu.getTabCount(); i++){
             jTabbedPaneDanhThu.setEnabledAt(i, false);
        }
        jTabbedPaneThayDoiQuyDinh.setVisible(false);
        for(int i=0; i<jTabbedPaneThayDoiQuyDinh.getTabCount(); i++){
            jTabbedPaneThayDoiQuyDinh.setEnabledAt(i, false);
        }
        
    }
    DoanTau_DTO DoanTau = new DoanTau_DTO();
    ToaTau_DTO ToaTau = new ToaTau_DTO();
    Ghe_DTO Ghe = new Ghe_DTO();
    public void DanhSachDoanTau()
    {
        String[] col = new String[]{"Mã Đoàn Tàu", "Tên Đoàn Tàu", "Loại Đoàn Tàu", "Hãng Sản Xuất", "Ngày Hoạt Động"};
        DefaultTableModel model = new DefaultTableModel(null, col);
        ArrayList<DoanTau_DTO> dsDoanTau = DoanTau_BUS.GetALL();
        
        for(DoanTau_DTO Tau : dsDoanTau)
        {
            Object[] items = new Object[] {Tau.getMaDT(), Tau.getTenDT(), Tau.getLoaiDT(), Tau.getHangSX(), Tau.getNgayHD()};
            model.addRow(items);
        }
        jTableDoanTau.setModel(model);
    }
     public void DanhSachToaTau()
    {
        String[] col = new String[]{"Mã Toa Tàu", "Tên Toa Tàu", "Loại Toa", "Số Lượng Chổ", "Mã Đoàn Tàu"};
        DefaultTableModel model = new DefaultTableModel(null, col);
        ArrayList<ToaTau_DTO> dsToaTau = ToaTau_BUS.GetALL();
        
        for(ToaTau_DTO Tau : dsToaTau)
        {
            Object[] items = new Object[] {Tau.getMaToa(),Tau.getTenToa(),Tau.getLoaiToa(),Tau.getSoLuongCho(),Tau.getMaDT()};
            model.addRow(items);
        }
        jTableToaTau.setModel(model);
    }
     public void DanhSachGhe()
    {
        String[] col = new String[]{"Mã Ghế", "Trạng Thái", "Mã Toa" };
        DefaultTableModel model = new DefaultTableModel(null, col);
        ArrayList<Ghe_DTO> dsGhe = Ghe_BUS.GetALL();
        
        for(Ghe_DTO Ghe : dsGhe)
        {
            Object[] items = new Object[] {Ghe.getMaGhe(),Ghe.isTrangThai(),Ghe.getMaToa()};
            model.addRow(items);
        }
        jTableToaTau.setModel(model);
    }
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTabbedChungTu = new javax.swing.JTabbedPane();
        jpnDoanTau = new javax.swing.JPanel();
        btIn = new javax.swing.JButton();
        btDong = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTableDoanTau = new javax.swing.JTable();
        btSua = new javax.swing.JButton();
        btThem = new javax.swing.JButton();
        btXuat = new javax.swing.JButton();
        btNapLai = new javax.swing.JButton();
        btXoa = new javax.swing.JButton();
        jpnToaTau = new javax.swing.JPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTableToaTau = new javax.swing.JTable();
        btXuat1 = new javax.swing.JButton();
        btIn1 = new javax.swing.JButton();
        btDong1 = new javax.swing.JButton();
        btSua1 = new javax.swing.JButton();
        btThem1 = new javax.swing.JButton();
        btNapLai1 = new javax.swing.JButton();
        btXoa1 = new javax.swing.JButton();
        jpnGhe = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        jTableGhe = new javax.swing.JTable();
        btXuat19 = new javax.swing.JButton();
        btIn18 = new javax.swing.JButton();
        btDong19 = new javax.swing.JButton();
        btSua14 = new javax.swing.JButton();
        btThem14 = new javax.swing.JButton();
        btNapLai14 = new javax.swing.JButton();
        btXoa14 = new javax.swing.JButton();
        jpnPhong = new javax.swing.JPanel();
        jScrollPane4 = new javax.swing.JScrollPane();
        jTable4 = new javax.swing.JTable();
        btXuat20 = new javax.swing.JButton();
        btIn19 = new javax.swing.JButton();
        btDong20 = new javax.swing.JButton();
        btSua15 = new javax.swing.JButton();
        btThem15 = new javax.swing.JButton();
        btNapLai15 = new javax.swing.JButton();
        btXoa15 = new javax.swing.JButton();
        jpnGiuong = new javax.swing.JPanel();
        jScrollPane5 = new javax.swing.JScrollPane();
        jTable5 = new javax.swing.JTable();
        btXuat21 = new javax.swing.JButton();
        btIn20 = new javax.swing.JButton();
        btDong21 = new javax.swing.JButton();
        btSua16 = new javax.swing.JButton();
        btThem16 = new javax.swing.JButton();
        btNapLai16 = new javax.swing.JButton();
        btXoa16 = new javax.swing.JButton();
        jpnTuyenTau = new javax.swing.JPanel();
        jScrollPane6 = new javax.swing.JScrollPane();
        jTable6 = new javax.swing.JTable();
        btXuat22 = new javax.swing.JButton();
        btIn21 = new javax.swing.JButton();
        btDong22 = new javax.swing.JButton();
        btSua17 = new javax.swing.JButton();
        btThem17 = new javax.swing.JButton();
        btNapLai17 = new javax.swing.JButton();
        btXoa17 = new javax.swing.JButton();
        lpnChuyenTau = new javax.swing.JPanel();
        jScrollPane7 = new javax.swing.JScrollPane();
        jTable7 = new javax.swing.JTable();
        btXuat23 = new javax.swing.JButton();
        btIn22 = new javax.swing.JButton();
        btDong23 = new javax.swing.JButton();
        btSua18 = new javax.swing.JButton();
        btThem18 = new javax.swing.JButton();
        btNapLai18 = new javax.swing.JButton();
        btXoa18 = new javax.swing.JButton();
        jpnGaTau = new javax.swing.JPanel();
        jScrollPane8 = new javax.swing.JScrollPane();
        jTable8 = new javax.swing.JTable();
        btXuat24 = new javax.swing.JButton();
        btIn23 = new javax.swing.JButton();
        btDong24 = new javax.swing.JButton();
        btSua19 = new javax.swing.JButton();
        btThem19 = new javax.swing.JButton();
        btNapLai19 = new javax.swing.JButton();
        btXoa19 = new javax.swing.JButton();
        jpnVeTau = new javax.swing.JPanel();
        jScrollPane9 = new javax.swing.JScrollPane();
        jTable9 = new javax.swing.JTable();
        btXuat25 = new javax.swing.JButton();
        btIn24 = new javax.swing.JButton();
        btDong25 = new javax.swing.JButton();
        btSua20 = new javax.swing.JButton();
        btThem20 = new javax.swing.JButton();
        btNapLai20 = new javax.swing.JButton();
        btXoa20 = new javax.swing.JButton();
        jpnNhanVien = new javax.swing.JPanel();
        jScrollPane10 = new javax.swing.JScrollPane();
        jTable10 = new javax.swing.JTable();
        btXuat26 = new javax.swing.JButton();
        btIn25 = new javax.swing.JButton();
        btDong26 = new javax.swing.JButton();
        btSua21 = new javax.swing.JButton();
        btThem21 = new javax.swing.JButton();
        btNapLai21 = new javax.swing.JButton();
        btXoa21 = new javax.swing.JButton();
        jPanelKhachHang = new javax.swing.JPanel();
        jScrollPane11 = new javax.swing.JScrollPane();
        jTable11 = new javax.swing.JTable();
        btXuat27 = new javax.swing.JButton();
        btIn26 = new javax.swing.JButton();
        btDong27 = new javax.swing.JButton();
        btSua22 = new javax.swing.JButton();
        btThem22 = new javax.swing.JButton();
        btNapLai22 = new javax.swing.JButton();
        btXoa22 = new javax.swing.JButton();
        jpnThaoTacVe = new javax.swing.JPanel();
        jpnTraCuuTuyen = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jScrollPane12 = new javax.swing.JScrollPane();
        jTableTraCuuChuyen = new javax.swing.JTable();
        btXemTraCuuChuyen = new javax.swing.JButton();
        cbGaDiTraCuuChuyen = new javax.swing.JComboBox();
        cbGaDenTraCuuChuyen = new javax.swing.JComboBox();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        btXuatTraCuuChuyen = new javax.swing.JButton();
        btInTraCuuChuyen = new javax.swing.JButton();
        btDongTraCuuChuyen = new javax.swing.JButton();
        jDateChooserTuNgayTraCuuChuyen = new com.toedter.calendar.JDateChooser();
        jDateChooserDenNgayTraCuuChuyen = new com.toedter.calendar.JDateChooser();
        jpnThayDoiQuiDinh = new javax.swing.JPanel();
        jPanel3 = new javax.swing.JPanel();
        jLabel8 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        jLabel9 = new javax.swing.JLabel();
        btThayDoiQuiDinhVe = new javax.swing.JButton();
        btThayDoiQuiDinhDoanTau = new javax.swing.JButton();
        jTabbedPaneThayDoiQuyDinh = new javax.swing.JTabbedPane();
        jpnThayDoiQuiDinhVe = new javax.swing.JPanel();
        jScrollPane15 = new javax.swing.JScrollPane();
        jTableQuiDinhVe = new javax.swing.JTable();
        btXuatQuiDinhVT = new javax.swing.JButton();
        btInQuiDinhVT = new javax.swing.JButton();
        btDongQuiDinhVT = new javax.swing.JButton();
        btSuaQuiDinhVT = new javax.swing.JButton();
        btThemQuiDinhVT = new javax.swing.JButton();
        btNapLaiQuiDinhVT = new javax.swing.JButton();
        btXoa24QuiDinhVT = new javax.swing.JButton();
        jpnThayDoiQuiDinhDoanTau = new javax.swing.JPanel();
        jScrollPane16 = new javax.swing.JScrollPane();
        jTableQuiDinhDoanTau = new javax.swing.JTable();
        btXuatQuiDinhDT = new javax.swing.JButton();
        btInQuiDinhDT = new javax.swing.JButton();
        btDongQuiDinhDT = new javax.swing.JButton();
        btSuaQuiDinhDT = new javax.swing.JButton();
        btThemQuiDinhDT = new javax.swing.JButton();
        btNapLaiQuiDinhDT = new javax.swing.JButton();
        btXoaQuiDinhDT = new javax.swing.JButton();
        jpnChungTu = new javax.swing.JPanel();
        jLabel5 = new javax.swing.JLabel();
        jScrollPane14 = new javax.swing.JScrollPane();
        jTableChungTu = new javax.swing.JTable();
        cbThoiGianChungTu = new javax.swing.JComboBox();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        btXuatChungTu = new javax.swing.JButton();
        btXemChungTu = new javax.swing.JButton();
        btDongChungTu = new javax.swing.JButton();
        btInChungTu = new javax.swing.JButton();
        jDateChooserTuNgayChungTu = new com.toedter.calendar.JDateChooser();
        jDateChooserDenNgayChungTu = new com.toedter.calendar.JDateChooser();
        jpnPhanCong = new javax.swing.JPanel();
        jScrollPane13 = new javax.swing.JScrollPane();
        jTablePhanCong = new javax.swing.JTable();
        btXuatPhanCong = new javax.swing.JButton();
        btInPhanCong = new javax.swing.JButton();
        btDongPhanCong = new javax.swing.JButton();
        btSuaPhanCong = new javax.swing.JButton();
        btThemPhanCong = new javax.swing.JButton();
        btNapLaiPhanCong = new javax.swing.JButton();
        btXoaPhanCong = new javax.swing.JButton();
        jpnDoanhThu = new javax.swing.JPanel();
        jPanel1 = new javax.swing.JPanel();
        jLabel10 = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        btDanhThuTheoNgay = new javax.swing.JButton();
        btDanhThuTheoKhachHang = new javax.swing.JButton();
        btDanhThuTheoNhanVien = new javax.swing.JButton();
        jTabbedPaneDanhThu = new javax.swing.JTabbedPane();
        jpnTheoNhanVien = new javax.swing.JPanel();
        cbThoiGianDanhThuNV = new javax.swing.JComboBox();
        jLabel19 = new javax.swing.JLabel();
        jScrollPane19 = new javax.swing.JScrollPane();
        jTableDanhThuNV = new javax.swing.JTable();
        jLabel20 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        btXemDanhThuNV = new javax.swing.JButton();
        btDongDanhThuNV = new javax.swing.JButton();
        btXuatDanhThuNV = new javax.swing.JButton();
        jDateChooserDenNgayNV = new com.toedter.calendar.JDateChooser();
        jDateChooserTuNgayNV = new com.toedter.calendar.JDateChooser();
        jpnTheoKhachHang = new javax.swing.JPanel();
        jScrollPane18 = new javax.swing.JScrollPane();
        jTableDanhThuKH = new javax.swing.JTable();
        cbThoiGianKhachHang = new javax.swing.JComboBox();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        btXuatDanhThuKH = new javax.swing.JButton();
        btDongDanhThuKH = new javax.swing.JButton();
        btXemDanhThuKH = new javax.swing.JButton();
        jDateChooserDenNgayKH = new com.toedter.calendar.JDateChooser();
        jDateChooserTuNgayKH = new com.toedter.calendar.JDateChooser();
        jpnTheoNgay = new javax.swing.JPanel();
        cbThoiGianDanhThu = new javax.swing.JComboBox();
        jScrollPane17 = new javax.swing.JScrollPane();
        jTableDanhThuNgay = new javax.swing.JTable();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        btXemDanhThu = new javax.swing.JButton();
        btDongDanhThu = new javax.swing.JButton();
        btXuatDanhThu = new javax.swing.JButton();
        jDateChooserDenNgay = new com.toedter.calendar.JDateChooser();
        jDateChooserTuNgay = new com.toedter.calendar.JDateChooser();
        jMenuBarMain = new javax.swing.JMenuBar();
        jmHeThong = new javax.swing.JMenu();
        mnKetThuc = new javax.swing.JMenuItem();
        mnThongTinDonVi = new javax.swing.JMenuItem();
        jSeparator1 = new javax.swing.JPopupMenu.Separator();
        mnPhanQuyen = new javax.swing.JMenuItem();
        mnDoiMatKhau = new javax.swing.JMenuItem();
        mnNhatKyHeThong = new javax.swing.JMenuItem();
        jSeparator2 = new javax.swing.JPopupMenu.Separator();
        mnSaoLuu = new javax.swing.JMenuItem();
        mnPhucHoi = new javax.swing.JMenuItem();
        jSeparator5 = new javax.swing.JPopupMenu.Separator();
        jmDanhMuc = new javax.swing.JMenu();
        mnDoanTau = new javax.swing.JMenuItem();
        mnToaTau = new javax.swing.JMenuItem();
        mnGhe = new javax.swing.JMenuItem();
        mnPhong = new javax.swing.JMenuItem();
        mnGiuong = new javax.swing.JMenuItem();
        jSeparator3 = new javax.swing.JPopupMenu.Separator();
        mnTuyenTau = new javax.swing.JMenuItem();
        mnChuyenTau = new javax.swing.JMenuItem();
        mnGaTau = new javax.swing.JMenuItem();
        mnVeTau = new javax.swing.JMenuItem();
        jSeparator4 = new javax.swing.JPopupMenu.Separator();
        mnNhanVien = new javax.swing.JMenuItem();
        mnKhachHang = new javax.swing.JMenuItem();
        jSeparator6 = new javax.swing.JPopupMenu.Separator();
        jmChucNang = new javax.swing.JMenu();
        mnThaoTacVe = new javax.swing.JMenuItem();
        mnTraCuuChuyen = new javax.swing.JMenuItem();
        jSeparator7 = new javax.swing.JPopupMenu.Separator();
        mnPhanCong = new javax.swing.JMenuItem();
        mnThayDoiQuiDinh = new javax.swing.JMenuItem();
        jSeparator8 = new javax.swing.JPopupMenu.Separator();
        mnDoanhThu = new javax.swing.JMenuItem();
        mnChungTu = new javax.swing.JMenuItem();
        jSeparator9 = new javax.swing.JPopupMenu.Separator();
        jmTroGiup = new javax.swing.JMenu();
        mnHuongDanSuDung = new javax.swing.JMenuItem();
        mnLienHe = new javax.swing.JMenuItem();
        mnThongTinPhanMem = new javax.swing.JMenuItem();
        jSeparator10 = new javax.swing.JPopupMenu.Separator();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("QUẢN LÝ ĐƯỜNG SẮT");

        btIn.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn.setText("In");
        btIn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btInActionPerformed(evt);
            }
        });

        btDong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong.setText("Đóng");
        btDong.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btDongActionPerformed(evt);
            }
        });

        jTableDoanTau.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "Mã Đoàn Tàu", "Tên Đoàn Tàu", "Loại DT", "Hãng SX", "Ngày Hoạt Động"
            }
        ));
        jTableDoanTau.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jTableDoanTauMousePressed(evt);
            }
        });
        jScrollPane1.setViewportView(jTableDoanTau);

        btSua.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua.setText("Sửa");
        btSua.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSuaActionPerformed(evt);
            }
        });

        btThem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem.setText("Thêm");
        btThem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThemActionPerformed(evt);
            }
        });

        btXuat.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat.setText("Xuất");
        btXuat.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btXuatActionPerformed(evt);
            }
        });

        btNapLai.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai.setText("Nạp Lại");
        btNapLai.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btNapLaiActionPerformed(evt);
            }
        });

        btXoa.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa.setText("Xóa");
        btXoa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btXoaActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jpnDoanTauLayout = new javax.swing.GroupLayout(jpnDoanTau);
        jpnDoanTau.setLayout(jpnDoanTauLayout);
        jpnDoanTauLayout.setHorizontalGroup(
            jpnDoanTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1)
            .addGroup(jpnDoanTauLayout.createSequentialGroup()
                .addComponent(btThem)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua)
                .addGap(33, 33, 33)
                .addComponent(btXoa)
                .addGap(31, 31, 31)
                .addComponent(btNapLai)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong)
                .addGap(0, 333, Short.MAX_VALUE))
        );
        jpnDoanTauLayout.setVerticalGroup(
            jpnDoanTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnDoanTauLayout.createSequentialGroup()
                .addGroup(jpnDoanTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btXoa, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jpnDoanTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btThem)
                        .addComponent(btSua)
                        .addComponent(btNapLai)
                        .addComponent(btXuat)
                        .addComponent(btIn)
                        .addComponent(btDong)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 340, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Đoàn Tàu", jpnDoanTau);

        jTableToaTau.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "Mã Toa Tàu", "Tên Toa Tàu", "Loại Toa", "Số Lượng Chổ", "Mã Đoàn Tàu"
            }
        ));
        jTableToaTau.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jTableToaTauMousePressed(evt);
            }
        });
        jTableToaTau.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTableToaTauKeyTyped(evt);
            }
        });
        jScrollPane2.setViewportView(jTableToaTau);

        btXuat1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat1.setText("Xuất");
        btXuat1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btXuat1ActionPerformed(evt);
            }
        });

        btIn1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn1.setText("In");
        btIn1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btIn1ActionPerformed(evt);
            }
        });

        btDong1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong1.setText("Đóng");
        btDong1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btDong1ActionPerformed(evt);
            }
        });

        btSua1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua1.setText("Sửa");
        btSua1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua1ActionPerformed(evt);
            }
        });

        btThem1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem1.setText("Thêm");
        btThem1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem1ActionPerformed(evt);
            }
        });

        btNapLai1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai1.setText("Nạp Lại");
        btNapLai1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btNapLai1ActionPerformed(evt);
            }
        });

        btXoa1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa1.setText("Xóa");
        btXoa1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btXoa1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jpnToaTauLayout = new javax.swing.GroupLayout(jpnToaTau);
        jpnToaTau.setLayout(jpnToaTauLayout);
        jpnToaTauLayout.setHorizontalGroup(
            jpnToaTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnToaTauLayout.createSequentialGroup()
                .addComponent(btThem1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong1)
                .addGap(0, 0, Short.MAX_VALUE))
            .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
        );
        jpnToaTauLayout.setVerticalGroup(
            jpnToaTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnToaTauLayout.createSequentialGroup()
                .addGroup(jpnToaTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem1)
                    .addComponent(btSua1)
                    .addComponent(btXoa1, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai1)
                    .addComponent(btXuat1)
                    .addComponent(btIn1)
                    .addComponent(btDong1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Toa Tàu", jpnToaTau);

        jTableGhe.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null}
            },
            new String [] {
                "Mã Ghế", "Trạng Thái", "Mã Toa"
            }
        ));
        jTableGhe.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jTableGheMousePressed(evt);
            }
        });
        jScrollPane3.setViewportView(jTableGhe);

        btXuat19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat19.setText("Xuất");
        btXuat19.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btXuat19ActionPerformed(evt);
            }
        });

        btIn18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn18.setText("In");
        btIn18.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btIn18ActionPerformed(evt);
            }
        });

        btDong19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong19.setText("Đóng");
        btDong19.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btDong19ActionPerformed(evt);
            }
        });

        btSua14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua14.setText("Sửa");
        btSua14.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua14ActionPerformed(evt);
            }
        });

        btThem14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem14.setText("Thêm");
        btThem14.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem14ActionPerformed(evt);
            }
        });

        btNapLai14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai14.setText("Nạp Lại");
        btNapLai14.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btNapLai14ActionPerformed(evt);
            }
        });

        btXoa14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa14.setText("Xóa");
        btXoa14.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btXoa14ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jpnGheLayout = new javax.swing.GroupLayout(jpnGhe);
        jpnGhe.setLayout(jpnGheLayout);
        jpnGheLayout.setHorizontalGroup(
            jpnGheLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
            .addGroup(jpnGheLayout.createSequentialGroup()
                .addComponent(btThem14)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua14)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa14)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai14)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn18)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong19)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jpnGheLayout.setVerticalGroup(
            jpnGheLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnGheLayout.createSequentialGroup()
                .addGroup(jpnGheLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem14)
                    .addComponent(btSua14)
                    .addComponent(btXoa14, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai14)
                    .addComponent(btXuat19)
                    .addComponent(btIn18)
                    .addComponent(btDong19))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Ghế", jpnGhe);

        jTable4.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Mã phòng", "Tên Phòng", "Trạng Thái", "Mã Toa"
            }
        ));
        jScrollPane4.setViewportView(jTable4);

        btXuat20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat20.setText("Xuất");

        btIn19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn19.setText("In");

        btDong20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong20.setText("Đóng");

        btSua15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua15.setText("Sửa");
        btSua15.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua15ActionPerformed(evt);
            }
        });

        btThem15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem15.setText("Thêm");
        btThem15.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem15ActionPerformed(evt);
            }
        });

        btNapLai15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai15.setText("Nạp Lại");

        btXoa15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa15.setText("Xóa");

        javax.swing.GroupLayout jpnPhongLayout = new javax.swing.GroupLayout(jpnPhong);
        jpnPhong.setLayout(jpnPhongLayout);
        jpnPhongLayout.setHorizontalGroup(
            jpnPhongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnPhongLayout.createSequentialGroup()
                .addComponent(btThem15)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua15)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa15)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai15)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat20)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong20)
                .addGap(0, 0, Short.MAX_VALUE))
            .addComponent(jScrollPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
        );
        jpnPhongLayout.setVerticalGroup(
            jpnPhongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnPhongLayout.createSequentialGroup()
                .addGroup(jpnPhongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem15)
                    .addComponent(btSua15)
                    .addComponent(btXoa15, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai15)
                    .addComponent(btXuat20)
                    .addComponent(btIn19)
                    .addComponent(btDong20))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Phòng", jpnPhong);

        jTable5.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Mã Giường", "Tầng", "Trạng Thái", "Mã Phòng"
            }
        ));
        jScrollPane5.setViewportView(jTable5);

        btXuat21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat21.setText("Xuất");

        btIn20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn20.setText("In");

        btDong21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong21.setText("Đóng");

        btSua16.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua16.setText("Sửa");
        btSua16.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua16ActionPerformed(evt);
            }
        });

        btThem16.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem16.setText("Thêm");
        btThem16.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem16ActionPerformed(evt);
            }
        });

        btNapLai16.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai16.setText("Nạp Lại");

        btXoa16.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa16.setText("Xóa");

        javax.swing.GroupLayout jpnGiuongLayout = new javax.swing.GroupLayout(jpnGiuong);
        jpnGiuong.setLayout(jpnGiuongLayout);
        jpnGiuongLayout.setHorizontalGroup(
            jpnGiuongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
            .addGroup(jpnGiuongLayout.createSequentialGroup()
                .addComponent(btThem16)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua16)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa16)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai16)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat21)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn20)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong21)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jpnGiuongLayout.setVerticalGroup(
            jpnGiuongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnGiuongLayout.createSequentialGroup()
                .addGroup(jpnGiuongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem16)
                    .addComponent(btSua16)
                    .addComponent(btXoa16, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai16)
                    .addComponent(btXuat21)
                    .addComponent(btIn20)
                    .addComponent(btDong21))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Giường", jpnGiuong);

        jTable6.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null}
            },
            new String [] {
                "Mã Tuyến Tàu", "Tên Tuyến Tàu", "Số Tuyến"
            }
        ));
        jScrollPane6.setViewportView(jTable6);

        btXuat22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat22.setText("Xuất");

        btIn21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn21.setText("In");

        btDong22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong22.setText("Đóng");

        btSua17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua17.setText("Sửa");
        btSua17.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua17ActionPerformed(evt);
            }
        });

        btThem17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem17.setText("Thêm");
        btThem17.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem17ActionPerformed(evt);
            }
        });

        btNapLai17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai17.setText("Nạp Lại");

        btXoa17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa17.setText("Xóa");

        javax.swing.GroupLayout jpnTuyenTauLayout = new javax.swing.GroupLayout(jpnTuyenTau);
        jpnTuyenTau.setLayout(jpnTuyenTauLayout);
        jpnTuyenTauLayout.setHorizontalGroup(
            jpnTuyenTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
            .addGroup(jpnTuyenTauLayout.createSequentialGroup()
                .addComponent(btThem17)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua17)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa17)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai17)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat22)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn21)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong22)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jpnTuyenTauLayout.setVerticalGroup(
            jpnTuyenTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTuyenTauLayout.createSequentialGroup()
                .addGroup(jpnTuyenTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem17)
                    .addComponent(btSua17)
                    .addComponent(btXoa17, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai17)
                    .addComponent(btXuat22)
                    .addComponent(btIn21)
                    .addComponent(btDong22))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Tuyến Tàu", jpnTuyenTau);

        jTable7.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null}
            },
            new String [] {
                "Mã Chuyến Tàu", "Tên Tuyến Tàu", "Mã Đoàn Tàu", "Mã Tuyến Tàu", "Ngày Xuất Phát", "Mã Ga Đi", "Mã Ga Đến"
            }
        ));
        jScrollPane7.setViewportView(jTable7);

        btXuat23.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat23.setText("Xuất");

        btIn22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn22.setText("In");

        btDong23.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong23.setText("Đóng");

        btSua18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua18.setText("Sửa");
        btSua18.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua18ActionPerformed(evt);
            }
        });

        btThem18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem18.setText("Thêm");
        btThem18.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem18ActionPerformed(evt);
            }
        });

        btNapLai18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai18.setText("Nạp Lại");

        btXoa18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa18.setText("Xóa");

        javax.swing.GroupLayout lpnChuyenTauLayout = new javax.swing.GroupLayout(lpnChuyenTau);
        lpnChuyenTau.setLayout(lpnChuyenTauLayout);
        lpnChuyenTauLayout.setHorizontalGroup(
            lpnChuyenTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane7, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
            .addGroup(lpnChuyenTauLayout.createSequentialGroup()
                .addComponent(btThem18)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua18)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa18)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai18)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat23)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn22)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong23)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        lpnChuyenTauLayout.setVerticalGroup(
            lpnChuyenTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, lpnChuyenTauLayout.createSequentialGroup()
                .addGroup(lpnChuyenTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem18)
                    .addComponent(btSua18)
                    .addComponent(btXoa18, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai18)
                    .addComponent(btXuat23)
                    .addComponent(btIn22)
                    .addComponent(btDong23))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane7, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Chuyến Tàu", lpnChuyenTau);

        jTable8.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null}
            },
            new String [] {
                "Mã Ga Tau", "Tên Ga Tàu"
            }
        ));
        jScrollPane8.setViewportView(jTable8);

        btXuat24.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat24.setText("Xuất");

        btIn23.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn23.setText("In");

        btDong24.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong24.setText("Đóng");

        btSua19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua19.setText("Sửa");
        btSua19.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua19ActionPerformed(evt);
            }
        });

        btThem19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem19.setText("Thêm");
        btThem19.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem19ActionPerformed(evt);
            }
        });

        btNapLai19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai19.setText("Nạp Lại");

        btXoa19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa19.setText("Xóa");

        javax.swing.GroupLayout jpnGaTauLayout = new javax.swing.GroupLayout(jpnGaTau);
        jpnGaTau.setLayout(jpnGaTauLayout);
        jpnGaTauLayout.setHorizontalGroup(
            jpnGaTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane8, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
            .addGroup(jpnGaTauLayout.createSequentialGroup()
                .addComponent(btThem19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat24)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn23)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong24)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jpnGaTauLayout.setVerticalGroup(
            jpnGaTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jpnGaTauLayout.createSequentialGroup()
                .addGroup(jpnGaTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem19)
                    .addComponent(btSua19)
                    .addComponent(btXoa19, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai19)
                    .addComponent(btXuat24)
                    .addComponent(btIn23)
                    .addComponent(btDong24))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane8, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Ga Tàu", jpnGaTau);

        jTable9.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null}
            },
            new String [] {
                "Mã Vé", "Tên Vé", "Giường", "Ghế", "Gía Vé", "Tình Trạng Vé", "Chuyến Tàu", "KM", "Trạng Thái"
            }
        ));
        jScrollPane9.setViewportView(jTable9);

        btXuat25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat25.setText("Xuất");

        btIn24.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn24.setText("In");

        btDong25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong25.setText("Đóng");

        btSua20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua20.setText("Sửa");
        btSua20.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua20ActionPerformed(evt);
            }
        });

        btThem20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem20.setText("Thêm");
        btThem20.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem20ActionPerformed(evt);
            }
        });

        btNapLai20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai20.setText("Nạp Lại");

        btXoa20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa20.setText("Xóa");

        javax.swing.GroupLayout jpnVeTauLayout = new javax.swing.GroupLayout(jpnVeTau);
        jpnVeTau.setLayout(jpnVeTauLayout);
        jpnVeTauLayout.setHorizontalGroup(
            jpnVeTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnVeTauLayout.createSequentialGroup()
                .addGroup(jpnVeTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane9, javax.swing.GroupLayout.DEFAULT_SIZE, 1126, Short.MAX_VALUE)
                    .addGroup(jpnVeTauLayout.createSequentialGroup()
                        .addComponent(btThem20)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btSua20)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btXoa20)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btNapLai20)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btXuat25)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btIn24)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btDong25)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jpnVeTauLayout.setVerticalGroup(
            jpnVeTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jpnVeTauLayout.createSequentialGroup()
                .addGroup(jpnVeTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem20)
                    .addComponent(btSua20)
                    .addComponent(btXoa20, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai20)
                    .addComponent(btXuat25)
                    .addComponent(btIn24)
                    .addComponent(btDong25))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane9, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Vé Tàu", jpnVeTau);

        jTable10.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null}
            },
            new String [] {
                "Mã Nhân Viên", "Họ Tên", "CMND", "Giới Tính", "Ngày Sinh", "Điện Thoại", "Địa Chỉ", "Nhân Viên QL", "Ga Làm Việc"
            }
        ));
        jScrollPane10.setViewportView(jTable10);

        btXuat26.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat26.setText("Xuất");

        btIn25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn25.setText("In");

        btDong26.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong26.setText("Đóng");

        btSua21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua21.setText("Sửa");
        btSua21.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua21ActionPerformed(evt);
            }
        });

        btThem21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem21.setText("Thêm");
        btThem21.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem21ActionPerformed(evt);
            }
        });

        btNapLai21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai21.setText("Nạp Lại");

        btXoa21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa21.setText("Xóa");

        javax.swing.GroupLayout jpnNhanVienLayout = new javax.swing.GroupLayout(jpnNhanVien);
        jpnNhanVien.setLayout(jpnNhanVienLayout);
        jpnNhanVienLayout.setHorizontalGroup(
            jpnNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane10, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
            .addGroup(jpnNhanVienLayout.createSequentialGroup()
                .addComponent(btThem21)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua21)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa21)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai21)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat26)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn25)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong26)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jpnNhanVienLayout.setVerticalGroup(
            jpnNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnNhanVienLayout.createSequentialGroup()
                .addGroup(jpnNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem21)
                    .addComponent(btSua21)
                    .addComponent(btXoa21, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai21)
                    .addComponent(btXuat26)
                    .addComponent(btIn25)
                    .addComponent(btDong26))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane10, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Nhân Viên", jpnNhanVien);

        jTable11.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "CMND", "Họ Tên ", "Địa Chỉ", "Ngày Sinh"
            }
        ));
        jScrollPane11.setViewportView(jTable11);

        btXuat27.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuat27.setText("Xuất");

        btIn26.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btIn26.setText("In");

        btDong27.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDong27.setText("Đóng");

        btSua22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSua22.setText("Sửa");
        btSua22.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSua22ActionPerformed(evt);
            }
        });

        btThem22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThem22.setText("Thêm");
        btThem22.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThem22ActionPerformed(evt);
            }
        });

        btNapLai22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLai22.setText("Nạp Lại");

        btXoa22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa22.setText("Xóa");

        javax.swing.GroupLayout jPanelKhachHangLayout = new javax.swing.GroupLayout(jPanelKhachHang);
        jPanelKhachHang.setLayout(jPanelKhachHangLayout);
        jPanelKhachHangLayout.setHorizontalGroup(
            jPanelKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelKhachHangLayout.createSequentialGroup()
                .addComponent(btThem22)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSua22)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa22)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLai22)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuat27)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btIn26)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDong27)
                .addGap(0, 0, Short.MAX_VALUE))
            .addComponent(jScrollPane11, javax.swing.GroupLayout.DEFAULT_SIZE, 1136, Short.MAX_VALUE)
        );
        jPanelKhachHangLayout.setVerticalGroup(
            jPanelKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelKhachHangLayout.createSequentialGroup()
                .addGroup(jPanelKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThem22)
                    .addComponent(btSua22)
                    .addComponent(btXoa22, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLai22)
                    .addComponent(btXuat27)
                    .addComponent(btIn26)
                    .addComponent(btDong27))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane11, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Khách Hàng", jPanelKhachHang);

        javax.swing.GroupLayout jpnThaoTacVeLayout = new javax.swing.GroupLayout(jpnThaoTacVe);
        jpnThaoTacVe.setLayout(jpnThaoTacVeLayout);
        jpnThaoTacVeLayout.setHorizontalGroup(
            jpnThaoTacVeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 1136, Short.MAX_VALUE)
        );
        jpnThaoTacVeLayout.setVerticalGroup(
            jpnThaoTacVeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 401, Short.MAX_VALUE)
        );

        jTabbedChungTu.addTab("Thao Tác Vé", jpnThaoTacVe);

        jLabel1.setText("Ga Đi");

        jTableTraCuuChuyen.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null}
            },
            new String [] {
                "Mã Chuyến Tàu", "Tên Tuyến Tàu", "Mã Đoàn Tàu", "Mã Tuyến Tàu", "Ngày Xuất Phát", "Mã Ga Đi", "Mã Ga Đến"
            }
        ));
        jScrollPane12.setViewportView(jTableTraCuuChuyen);

        btXemTraCuuChuyen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/contacts_2.png"))); // NOI18N
        btXemTraCuuChuyen.setText("Xem");
        btXemTraCuuChuyen.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btXemTraCuuChuyenActionPerformed(evt);
            }
        });

        cbGaDiTraCuuChuyen.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "(Chọn Ga Đi)" }));

        cbGaDenTraCuuChuyen.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "(Chọn Ga Đến)" }));

        jLabel3.setText("Từ Ngày");

        jLabel4.setText("Đến Ngày");

        jLabel2.setText("Ga Đến");

        btXuatTraCuuChuyen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuatTraCuuChuyen.setText("Xuất");

        btInTraCuuChuyen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btInTraCuuChuyen.setText("In");

        btDongTraCuuChuyen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDongTraCuuChuyen.setText("Đóng");

        javax.swing.GroupLayout jpnTraCuuTuyenLayout = new javax.swing.GroupLayout(jpnTraCuuTuyen);
        jpnTraCuuTuyen.setLayout(jpnTraCuuTuyenLayout);
        jpnTraCuuTuyenLayout.setHorizontalGroup(
            jpnTraCuuTuyenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTraCuuTuyenLayout.createSequentialGroup()
                .addGroup(jpnTraCuuTuyenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane12)
                    .addGroup(jpnTraCuuTuyenLayout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cbGaDiTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cbGaDenTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jDateChooserTuNgayTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jDateChooserDenNgayTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(4, 4, 4)
                        .addComponent(btXemTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btXuatTraCuuChuyen)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btInTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btDongTraCuuChuyen)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jpnTraCuuTuyenLayout.setVerticalGroup(
            jpnTraCuuTuyenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTraCuuTuyenLayout.createSequentialGroup()
                .addGroup(jpnTraCuuTuyenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jpnTraCuuTuyenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btXuatTraCuuChuyen)
                        .addComponent(btInTraCuuChuyen)
                        .addComponent(btDongTraCuuChuyen)
                        .addComponent(btXemTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jpnTraCuuTuyenLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jpnTraCuuTuyenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jDateChooserTuNgayTraCuuChuyen, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(jpnTraCuuTuyenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(cbGaDiTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jLabel1)
                                .addComponent(jLabel2)
                                .addComponent(cbGaDenTraCuuChuyen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jLabel3))
                            .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jDateChooserDenNgayTraCuuChuyen, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane12, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Tra Cứu Tuyến", jpnTraCuuTuyen);

        jPanel3.setBackground(new java.awt.Color(204, 204, 204));

        jLabel8.setText("Thây Đổi Qui Định");

        jPanel2.setBackground(new java.awt.Color(204, 204, 255));

        jLabel9.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        jLabel9.setText("Qui Định");

        btThayDoiQuiDinhVe.setText("Thay Đổi Qui Định Vé");
        btThayDoiQuiDinhVe.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThayDoiQuiDinhVeActionPerformed(evt);
            }
        });

        btThayDoiQuiDinhDoanTau.setText("Thay Đổi Qui Định Đoàn Tàu");
        btThayDoiQuiDinhDoanTau.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThayDoiQuiDinhDoanTauActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btThayDoiQuiDinhVe, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btThayDoiQuiDinhDoanTau, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(62, 62, 62)
                .addComponent(jLabel9)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel9)
                .addGap(18, 18, 18)
                .addComponent(btThayDoiQuiDinhVe, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(btThayDoiQuiDinhDoanTau, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(37, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addGap(43, 43, 43)
                        .addComponent(jLabel8)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel8)
                .addGap(32, 32, 32)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );

        jTableQuiDinhVe.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "STT", "Loại Đoàn Tàu", "Loại Vé", "Tỷ Lệ Giảm"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane15.setViewportView(jTableQuiDinhVe);

        btXuatQuiDinhVT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuatQuiDinhVT.setText("Xuất");

        btInQuiDinhVT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btInQuiDinhVT.setText("In");

        btDongQuiDinhVT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDongQuiDinhVT.setText("Đóng");

        btSuaQuiDinhVT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSuaQuiDinhVT.setText("Sửa");
        btSuaQuiDinhVT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSuaQuiDinhVTActionPerformed(evt);
            }
        });

        btThemQuiDinhVT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThemQuiDinhVT.setText("Thêm");
        btThemQuiDinhVT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThemQuiDinhVTActionPerformed(evt);
            }
        });

        btNapLaiQuiDinhVT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLaiQuiDinhVT.setText("Nạp Lại");

        btXoa24QuiDinhVT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoa24QuiDinhVT.setText("Xóa");

        javax.swing.GroupLayout jpnThayDoiQuiDinhVeLayout = new javax.swing.GroupLayout(jpnThayDoiQuiDinhVe);
        jpnThayDoiQuiDinhVe.setLayout(jpnThayDoiQuiDinhVeLayout);
        jpnThayDoiQuiDinhVeLayout.setHorizontalGroup(
            jpnThayDoiQuiDinhVeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane15)
            .addGroup(jpnThayDoiQuiDinhVeLayout.createSequentialGroup()
                .addComponent(btThemQuiDinhVT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSuaQuiDinhVT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoa24QuiDinhVT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLaiQuiDinhVT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuatQuiDinhVT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btInQuiDinhVT, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDongQuiDinhVT)
                .addGap(0, 130, Short.MAX_VALUE))
        );
        jpnThayDoiQuiDinhVeLayout.setVerticalGroup(
            jpnThayDoiQuiDinhVeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnThayDoiQuiDinhVeLayout.createSequentialGroup()
                .addGroup(jpnThayDoiQuiDinhVeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThemQuiDinhVT)
                    .addComponent(btSuaQuiDinhVT)
                    .addComponent(btXoa24QuiDinhVT, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLaiQuiDinhVT)
                    .addComponent(btXuatQuiDinhVT)
                    .addComponent(btInQuiDinhVT)
                    .addComponent(btDongQuiDinhVT))
                .addGap(18, 18, 18)
                .addComponent(jScrollPane15, javax.swing.GroupLayout.DEFAULT_SIZE, 306, Short.MAX_VALUE))
        );

        jTabbedPaneThayDoiQuyDinh.addTab("Thay Đổi Qui Định Vé", jpnThayDoiQuiDinhVe);

        jTableQuiDinhDoanTau.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "STT", "Mã Đoàn Tàu", "Hạn Thanh Toán", "Hạn Đặt Vé", "Số vé Max"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane16.setViewportView(jTableQuiDinhDoanTau);

        btXuatQuiDinhDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuatQuiDinhDT.setText("Xuất");

        btInQuiDinhDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btInQuiDinhDT.setText("In");

        btDongQuiDinhDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDongQuiDinhDT.setText("Đóng");

        btSuaQuiDinhDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSuaQuiDinhDT.setText("Sửa");
        btSuaQuiDinhDT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSuaQuiDinhDTActionPerformed(evt);
            }
        });

        btThemQuiDinhDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThemQuiDinhDT.setText("Thêm");
        btThemQuiDinhDT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThemQuiDinhDTActionPerformed(evt);
            }
        });

        btNapLaiQuiDinhDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLaiQuiDinhDT.setText("Nạp Lại");

        btXoaQuiDinhDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoaQuiDinhDT.setText("Xóa");

        javax.swing.GroupLayout jpnThayDoiQuiDinhDoanTauLayout = new javax.swing.GroupLayout(jpnThayDoiQuiDinhDoanTau);
        jpnThayDoiQuiDinhDoanTau.setLayout(jpnThayDoiQuiDinhDoanTauLayout);
        jpnThayDoiQuiDinhDoanTauLayout.setHorizontalGroup(
            jpnThayDoiQuiDinhDoanTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane16)
            .addGroup(jpnThayDoiQuiDinhDoanTauLayout.createSequentialGroup()
                .addComponent(btThemQuiDinhDT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btSuaQuiDinhDT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXoaQuiDinhDT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btNapLaiQuiDinhDT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuatQuiDinhDT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btInQuiDinhDT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDongQuiDinhDT)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        jpnThayDoiQuiDinhDoanTauLayout.setVerticalGroup(
            jpnThayDoiQuiDinhDoanTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnThayDoiQuiDinhDoanTauLayout.createSequentialGroup()
                .addGroup(jpnThayDoiQuiDinhDoanTauLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThemQuiDinhDT)
                    .addComponent(btSuaQuiDinhDT)
                    .addComponent(btXoaQuiDinhDT, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLaiQuiDinhDT)
                    .addComponent(btXuatQuiDinhDT)
                    .addComponent(btInQuiDinhDT)
                    .addComponent(btDongQuiDinhDT))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane16, javax.swing.GroupLayout.DEFAULT_SIZE, 313, Short.MAX_VALUE))
        );

        jTabbedPaneThayDoiQuyDinh.addTab("Thay Đổi Qui Định Đoàn Tàu", jpnThayDoiQuiDinhDoanTau);

        javax.swing.GroupLayout jpnThayDoiQuiDinhLayout = new javax.swing.GroupLayout(jpnThayDoiQuiDinh);
        jpnThayDoiQuiDinh.setLayout(jpnThayDoiQuiDinhLayout);
        jpnThayDoiQuiDinhLayout.setHorizontalGroup(
            jpnThayDoiQuiDinhLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnThayDoiQuiDinhLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPaneThayDoiQuyDinh)
                .addContainerGap())
        );
        jpnThayDoiQuiDinhLayout.setVerticalGroup(
            jpnThayDoiQuiDinhLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jTabbedPaneThayDoiQuyDinh)
        );

        jTabbedChungTu.addTab("Thay Đổi Qui Định", jpnThayDoiQuiDinh);

        jLabel5.setText("Thời Gian");

        jTableChungTu.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null}
            },
            new String [] {
                "Mã Giao Dịch", "Mã Nhân Viên", "Mã Khách Hàng", "Mã Chuyến Tàu", "Ngày Lập", "Loại Giao Dịch", "Tình Trạng Chứng Từ"
            }
        ));
        jScrollPane14.setViewportView(jTableChungTu);

        cbThoiGianChungTu.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Lấy Hết", "Quý 1", "Quý 2", "Quý 3", "Quý 4", "Theo Ngày" }));

        jLabel6.setText("Từ Ngày");

        jLabel7.setText("Đến Ngày");

        btXuatChungTu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuatChungTu.setText("Xuất");

        btXemChungTu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/contacts_2.png"))); // NOI18N
        btXemChungTu.setText("Xem");

        btDongChungTu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDongChungTu.setText("Đóng");

        btInChungTu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btInChungTu.setText("In");

        javax.swing.GroupLayout jpnChungTuLayout = new javax.swing.GroupLayout(jpnChungTu);
        jpnChungTu.setLayout(jpnChungTuLayout);
        jpnChungTuLayout.setHorizontalGroup(
            jpnChungTuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnChungTuLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jpnChungTuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpnChungTuLayout.createSequentialGroup()
                        .addComponent(jLabel5)
                        .addGap(10, 10, 10)
                        .addComponent(cbThoiGianChungTu, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabel6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jDateChooserTuNgayChungTu, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabel7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jDateChooserDenNgayChungTu, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btXemChungTu, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btXuatChungTu)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btInChungTu, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btDongChungTu)
                        .addContainerGap(137, Short.MAX_VALUE))
                    .addComponent(jScrollPane14)))
        );
        jpnChungTuLayout.setVerticalGroup(
            jpnChungTuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnChungTuLayout.createSequentialGroup()
                .addGroup(jpnChungTuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpnChungTuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btXemChungTu, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btXuatChungTu)
                        .addComponent(btInChungTu)
                        .addComponent(btDongChungTu))
                    .addGroup(jpnChungTuLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jpnChungTuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jpnChungTuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(cbThoiGianChungTu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jLabel5)
                                .addComponent(jLabel6))
                            .addComponent(jDateChooserTuNgayChungTu, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jDateChooserDenNgayChungTu, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane14, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Chứng Từ", jpnChungTu);

        jTablePhanCong.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null}
            },
            new String [] {
                "STT", "Nhân Viên Quản Lý", "Nhân Viên Được Quản Lý", "Vai Trò", "Ngày", "Đoàn Tàu", "Ghi Chú"
            }
        ));
        jScrollPane13.setViewportView(jTablePhanCong);

        btXuatPhanCong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuatPhanCong.setText("Xuất");

        btInPhanCong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Internet Document.png"))); // NOI18N
        btInPhanCong.setText("In");

        btDongPhanCong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDongPhanCong.setText("Đóng");

        btSuaPhanCong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        btSuaPhanCong.setText("Sửa");
        btSuaPhanCong.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSuaPhanCongActionPerformed(evt);
            }
        });

        btThemPhanCong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Diary Icon.png"))); // NOI18N
        btThemPhanCong.setText("Thêm");
        btThemPhanCong.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btThemPhanCongActionPerformed(evt);
            }
        });

        btNapLaiPhanCong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        btNapLaiPhanCong.setText("Nạp Lại");

        btXoaPhanCong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Icon_31-128.png"))); // NOI18N
        btXoaPhanCong.setText("Xóa");

        javax.swing.GroupLayout jpnPhanCongLayout = new javax.swing.GroupLayout(jpnPhanCong);
        jpnPhanCong.setLayout(jpnPhanCongLayout);
        jpnPhanCongLayout.setHorizontalGroup(
            jpnPhanCongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnPhanCongLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jpnPhanCongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane13, javax.swing.GroupLayout.DEFAULT_SIZE, 1116, Short.MAX_VALUE)
                    .addGroup(jpnPhanCongLayout.createSequentialGroup()
                        .addComponent(btThemPhanCong)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btSuaPhanCong)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btXoaPhanCong)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btNapLaiPhanCong)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btXuatPhanCong)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btInPhanCong)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btDongPhanCong)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jpnPhanCongLayout.setVerticalGroup(
            jpnPhanCongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jpnPhanCongLayout.createSequentialGroup()
                .addGroup(jpnPhanCongLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btThemPhanCong)
                    .addComponent(btSuaPhanCong)
                    .addComponent(btXoaPhanCong, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btNapLaiPhanCong)
                    .addComponent(btXuatPhanCong)
                    .addComponent(btInPhanCong)
                    .addComponent(btDongPhanCong))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane13, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE))
        );

        jTabbedChungTu.addTab("Phân Công", jpnPhanCong);

        jPanel1.setBackground(new java.awt.Color(204, 204, 204));

        jLabel10.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        jLabel10.setText("Doanh Thu");

        jPanel4.setBackground(new java.awt.Color(204, 204, 255));

        jLabel11.setText("Doanh Thu Bán Vé");

        jLabel12.setBackground(new java.awt.Color(255, 255, 255));
        jLabel12.setText("Doanh Số");

        btDanhThuTheoNgay.setBackground(new java.awt.Color(255, 255, 255));
        btDanhThuTheoNgay.setText("Theo Ngày");
        btDanhThuTheoNgay.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btDanhThuTheoNgayActionPerformed(evt);
            }
        });

        btDanhThuTheoKhachHang.setText("Theo Khách Hàng");
        btDanhThuTheoKhachHang.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btDanhThuTheoKhachHangActionPerformed(evt);
            }
        });

        btDanhThuTheoNhanVien.setText("Theo Nhân Viên");
        btDanhThuTheoNhanVien.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btDanhThuTheoNhanVienActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addGap(54, 54, 54)
                        .addComponent(jLabel11)
                        .addGap(0, 58, Short.MAX_VALUE))
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(btDanhThuTheoNgay, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(btDanhThuTheoKhachHang, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(btDanhThuTheoNhanVien, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addContainerGap())
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGap(78, 78, 78)
                .addComponent(jLabel12)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel11)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDanhThuTheoNgay, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(btDanhThuTheoKhachHang, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel12)
                .addGap(18, 18, 18)
                .addComponent(btDanhThuTheoNhanVien, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(19, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(73, 73, 73)
                .addComponent(jLabel10)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(jLabel10)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        cbThoiGianDanhThuNV.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Lấy Hết", "Quý 1", "Quý 2", "Quý 3", "Quý 4", "Theo Ngày", " " }));
        cbThoiGianDanhThuNV.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cbThoiGianDanhThuNVActionPerformed(evt);
            }
        });

        jLabel19.setText("Đến Ngày");

        jTableDanhThuNV.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "Mã Nhân Viên", "Tên Nhân Viên", "Địa Chỉ", "Điện Thoại", "Tổng Tiền"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane19.setViewportView(jTableDanhThuNV);

        jLabel20.setText("Từ Ngày");

        jLabel21.setText("Thời Gian");

        btXemDanhThuNV.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/contacts_2.png"))); // NOI18N
        btXemDanhThuNV.setText("Xem");

        btDongDanhThuNV.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDongDanhThuNV.setText("Đóng");

        btXuatDanhThuNV.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuatDanhThuNV.setText("Xuất");
        btXuatDanhThuNV.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btXuatDanhThuNVActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jpnTheoNhanVienLayout = new javax.swing.GroupLayout(jpnTheoNhanVien);
        jpnTheoNhanVien.setLayout(jpnTheoNhanVienLayout);
        jpnTheoNhanVienLayout.setHorizontalGroup(
            jpnTheoNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTheoNhanVienLayout.createSequentialGroup()
                .addGap(2, 2, 2)
                .addComponent(jLabel21)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cbThoiGianDanhThuNV, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel20)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jDateChooserTuNgayNV, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jDateChooserDenNgayNV, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXemDanhThuNV, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDongDanhThuNV)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuatDanhThuNV)
                .addContainerGap(28, Short.MAX_VALUE))
            .addComponent(jScrollPane19)
        );
        jpnTheoNhanVienLayout.setVerticalGroup(
            jpnTheoNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTheoNhanVienLayout.createSequentialGroup()
                .addGroup(jpnTheoNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpnTheoNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btXemDanhThuNV, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btDongDanhThuNV)
                        .addComponent(btXuatDanhThuNV))
                    .addGroup(jpnTheoNhanVienLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jpnTheoNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jpnTheoNhanVienLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(jLabel21)
                                .addComponent(jLabel20)
                                .addComponent(cbThoiGianDanhThuNV, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jDateChooserDenNgayNV, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jDateChooserTuNgayNV, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel19, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane19, javax.swing.GroupLayout.DEFAULT_SIZE, 318, Short.MAX_VALUE))
        );

        jTabbedPaneDanhThu.addTab("Theo Nhân Viên", jpnTheoNhanVien);

        jTableDanhThuKH.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null}
            },
            new String [] {
                "Mã Khách Hàng", "Tên Khách Hàng", "Tổng Tiền"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane18.setViewportView(jTableDanhThuKH);

        cbThoiGianKhachHang.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Lấy Hết", "Quý 1", "Quý 2", "Quý 3", "Quý 4", "Theo Ngày" }));

        jLabel16.setText("Đến Ngày");

        jLabel17.setText("Thời Gian");

        jLabel18.setText("Từ Ngày");

        btXuatDanhThuKH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuatDanhThuKH.setText("Xuất");

        btDongDanhThuKH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDongDanhThuKH.setText("Đóng");

        btXemDanhThuKH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/contacts_2.png"))); // NOI18N
        btXemDanhThuKH.setText("Xem");

        javax.swing.GroupLayout jpnTheoKhachHangLayout = new javax.swing.GroupLayout(jpnTheoKhachHang);
        jpnTheoKhachHang.setLayout(jpnTheoKhachHangLayout);
        jpnTheoKhachHangLayout.setHorizontalGroup(
            jpnTheoKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTheoKhachHangLayout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(jLabel17)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cbThoiGianKhachHang, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel18)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jDateChooserTuNgayKH, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel16)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jDateChooserDenNgayKH, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXemDanhThuKH, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btDongDanhThuKH)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuatDanhThuKH)
                .addGap(18, 18, 18))
            .addComponent(jScrollPane18)
        );
        jpnTheoKhachHangLayout.setVerticalGroup(
            jpnTheoKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTheoKhachHangLayout.createSequentialGroup()
                .addGroup(jpnTheoKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpnTheoKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btXuatDanhThuKH)
                        .addComponent(btDongDanhThuKH)
                        .addComponent(btXemDanhThuKH, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jpnTheoKhachHangLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jpnTheoKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jpnTheoKhachHangLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(jLabel17)
                                .addComponent(jLabel18)
                                .addComponent(cbThoiGianKhachHang, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jDateChooserDenNgayKH, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jDateChooserTuNgayKH, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane18, javax.swing.GroupLayout.DEFAULT_SIZE, 318, Short.MAX_VALUE))
        );

        jTabbedPaneDanhThu.addTab("Theo Khách hàng", jpnTheoKhachHang);

        cbThoiGianDanhThu.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Lấy Hết", "Quý 1", "Quý 2", "Quý 3", "Quý 4", "Theo Ngày" }));
        cbThoiGianDanhThu.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cbThoiGianDanhThuActionPerformed(evt);
            }
        });

        jTableDanhThuNgay.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null}
            },
            new String [] {
                "Theo Ngày", "Doanh Số Bán Vé"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane17.setViewportView(jTableDanhThuNgay);

        jLabel13.setText("Đến Ngày");

        jLabel14.setText("Thời Gian");

        jLabel15.setText("Từ Ngày");

        btXemDanhThu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/contacts_2.png"))); // NOI18N
        btXemDanhThu.setText("Xem");

        btDongDanhThu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1)_1.png"))); // NOI18N
        btDongDanhThu.setText("Đóng");

        btXuatDanhThu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Import-Excel.png"))); // NOI18N
        btXuatDanhThu.setText("Xuất");

        javax.swing.GroupLayout jpnTheoNgayLayout = new javax.swing.GroupLayout(jpnTheoNgay);
        jpnTheoNgay.setLayout(jpnTheoNgayLayout);
        jpnTheoNgayLayout.setHorizontalGroup(
            jpnTheoNgayLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTheoNgayLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel14)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cbThoiGianDanhThu, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel15)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jDateChooserTuNgay, javax.swing.GroupLayout.PREFERRED_SIZE, 122, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel13)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jDateChooserDenNgay, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXemDanhThu, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btDongDanhThu)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btXuatDanhThu)
                .addContainerGap(36, Short.MAX_VALUE))
            .addComponent(jScrollPane17)
        );
        jpnTheoNgayLayout.setVerticalGroup(
            jpnTheoNgayLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnTheoNgayLayout.createSequentialGroup()
                .addGroup(jpnTheoNgayLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpnTheoNgayLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btXemDanhThu, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btDongDanhThu)
                        .addComponent(btXuatDanhThu))
                    .addGroup(jpnTheoNgayLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jpnTheoNgayLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addGroup(jpnTheoNgayLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(cbThoiGianDanhThu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jLabel15)
                                .addComponent(jLabel14))
                            .addComponent(jDateChooserDenNgay, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jDateChooserTuNgay, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane17, javax.swing.GroupLayout.DEFAULT_SIZE, 318, Short.MAX_VALUE))
        );

        jTabbedPaneDanhThu.addTab("Theo Ngày", jpnTheoNgay);

        javax.swing.GroupLayout jpnDoanhThuLayout = new javax.swing.GroupLayout(jpnDoanhThu);
        jpnDoanhThu.setLayout(jpnDoanhThuLayout);
        jpnDoanhThuLayout.setHorizontalGroup(
            jpnDoanhThuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpnDoanhThuLayout.createSequentialGroup()
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPaneDanhThu)
                .addGap(2, 2, 2))
        );
        jpnDoanhThuLayout.setVerticalGroup(
            jpnDoanhThuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jTabbedPaneDanhThu, javax.swing.GroupLayout.Alignment.TRAILING)
        );

        jTabbedChungTu.addTab("Doanh Thu", jpnDoanhThu);

        jmHeThong.setText("Hệ Thống");

        mnKetThuc.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.event.InputEvent.CTRL_MASK));
        mnKetThuc.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/power_off (1).png"))); // NOI18N
        mnKetThuc.setText("Kết Thúc");
        mnKetThuc.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnKetThucActionPerformed(evt);
            }
        });
        jmHeThong.add(mnKetThuc);

        mnThongTinDonVi.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_I, java.awt.event.InputEvent.CTRL_MASK));
        mnThongTinDonVi.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/InfoBox-icon.png"))); // NOI18N
        mnThongTinDonVi.setText("Thông Tin Đơn Vị");
        mnThongTinDonVi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnThongTinDonViActionPerformed(evt);
            }
        });
        jmHeThong.add(mnThongTinDonVi);
        jmHeThong.add(jSeparator1);

        mnPhanQuyen.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.SHIFT_MASK));
        mnPhanQuyen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/testimonials.png"))); // NOI18N
        mnPhanQuyen.setText("Phân Quyền");
        jmHeThong.add(mnPhanQuyen);

        mnDoiMatKhau.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.ALT_MASK));
        mnDoiMatKhau.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/permissionmanager_icon.jpg"))); // NOI18N
        mnDoiMatKhau.setText("Đổi Mật Khẩu");
        mnDoiMatKhau.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnDoiMatKhauActionPerformed(evt);
            }
        });
        jmHeThong.add(mnDoiMatKhau);

        mnNhatKyHeThong.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_W, java.awt.event.InputEvent.CTRL_MASK));
        mnNhatKyHeThong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Library-Folder-black-icon.png"))); // NOI18N
        mnNhatKyHeThong.setText("Nhật Ký Hệ Thống");
        jmHeThong.add(mnNhatKyHeThong);
        jmHeThong.add(jSeparator2);

        mnSaoLuu.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_B, java.awt.event.InputEvent.CTRL_MASK));
        mnSaoLuu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/File Save As.png"))); // NOI18N
        mnSaoLuu.setText("Sao Lưu");
        jmHeThong.add(mnSaoLuu);

        mnPhucHoi.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, java.awt.event.InputEvent.CTRL_MASK));
        mnPhucHoi.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/backup-restore.png"))); // NOI18N
        mnPhucHoi.setText("Phục Hồi");
        jmHeThong.add(mnPhucHoi);
        jmHeThong.add(jSeparator5);

        jMenuBarMain.add(jmHeThong);

        jmDanhMuc.setText("Danh Mục");

        mnDoanTau.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_D, java.awt.event.InputEvent.CTRL_MASK));
        mnDoanTau.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/train.png"))); // NOI18N
        mnDoanTau.setText("Đoàn Tàu");
        mnDoanTau.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnDoanTauActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnDoanTau);

        mnToaTau.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_T, java.awt.event.InputEvent.CTRL_MASK));
        mnToaTau.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/railroad-car-xxl.png"))); // NOI18N
        mnToaTau.setText("Toa Tàu");
        mnToaTau.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnToaTauActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnToaTau);

        mnGhe.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_G, java.awt.event.InputEvent.CTRL_MASK));
        mnGhe.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Train_Seat-icon.png"))); // NOI18N
        mnGhe.setText("Ghế");
        mnGhe.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnGheActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnGhe);

        mnPhong.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.CTRL_MASK));
        mnPhong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/featured_chamber.png"))); // NOI18N
        mnPhong.setText("Phòng");
        mnPhong.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnPhongActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnPhong);

        mnGiuong.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_G, java.awt.event.InputEvent.ALT_MASK));
        mnGiuong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/AWT-Bed.png"))); // NOI18N
        mnGiuong.setText("Giường");
        mnGiuong.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnGiuongActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnGiuong);
        jmDanhMuc.add(jSeparator3);

        mnTuyenTau.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_T, java.awt.event.InputEvent.ALT_MASK));
        mnTuyenTau.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Railway-1127233633.png"))); // NOI18N
        mnTuyenTau.setText("Tuyến Tàu");
        mnTuyenTau.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnTuyenTauActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnTuyenTau);

        mnChuyenTau.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.CTRL_MASK));
        mnChuyenTau.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/ProfitTrain.png"))); // NOI18N
        mnChuyenTau.setText("Chuyến Tàu");
        mnChuyenTau.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnChuyenTauActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnChuyenTau);

        mnGaTau.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_G, java.awt.event.InputEvent.SHIFT_MASK));
        mnGaTau.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Passenger_train_station.png"))); // NOI18N
        mnGaTau.setText("Ga Tàu");
        mnGaTau.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnGaTauActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnGaTau);

        mnVeTau.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_V, java.awt.event.InputEvent.CTRL_MASK));
        mnVeTau.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/tickets_256.png"))); // NOI18N
        mnVeTau.setText("Vé Tàu");
        mnVeTau.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnVeTauActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnVeTau);
        jmDanhMuc.add(jSeparator4);

        mnNhanVien.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.CTRL_MASK));
        mnNhanVien.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Workers.png"))); // NOI18N
        mnNhanVien.setText("Nhân Viên");
        mnNhanVien.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnNhanVienActionPerformed(evt);
            }
        });
        jmDanhMuc.add(mnNhanVien);

        mnKhachHang.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/khuvuc11.png"))); // NOI18N
        mnKhachHang.setText("Khách Hàng");
        jmDanhMuc.add(mnKhachHang);
        jmDanhMuc.add(jSeparator6);

        jMenuBarMain.add(jmDanhMuc);

        jmChucNang.setText("Chức Năng");

        mnThaoTacVe.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/backup-restore.png"))); // NOI18N
        mnThaoTacVe.setText("Thao Tác Vé");
        mnThaoTacVe.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnThaoTacVeActionPerformed(evt);
            }
        });
        jmChucNang.add(mnThaoTacVe);

        mnTraCuuChuyen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Assignment.png"))); // NOI18N
        mnTraCuuChuyen.setText("Tra Cứu Chuyến");
        mnTraCuuChuyen.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnTraCuuChuyenActionPerformed(evt);
            }
        });
        jmChucNang.add(mnTraCuuChuyen);
        jmChucNang.add(jSeparator7);

        mnPhanCong.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Toggle Log.png"))); // NOI18N
        mnPhanCong.setText("Phân Công");
        mnPhanCong.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnPhanCongActionPerformed(evt);
            }
        });
        jmChucNang.add(mnPhanCong);

        mnThayDoiQuiDinh.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/wire_transfer.png"))); // NOI18N
        mnThayDoiQuiDinh.setText("Thay Đổi Qui Định");
        mnThayDoiQuiDinh.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnThayDoiQuiDinhActionPerformed(evt);
            }
        });
        jmChucNang.add(mnThayDoiQuiDinh);
        jmChucNang.add(jSeparator8);

        mnDoanhThu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/201312260449058_easyicon_net_256.png"))); // NOI18N
        mnDoanhThu.setText("Doanh Thu");
        mnDoanhThu.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnDoanhThuActionPerformed(evt);
            }
        });
        jmChucNang.add(mnDoanhThu);

        mnChungTu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/Library-Folder-black-icon.png"))); // NOI18N
        mnChungTu.setText("Chứng Từ");
        mnChungTu.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnChungTuActionPerformed(evt);
            }
        });
        jmChucNang.add(mnChungTu);
        jmChucNang.add(jSeparator9);

        jMenuBarMain.add(jmChucNang);

        jmTroGiup.setText("Trợ Giúp");

        mnHuongDanSuDung.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/help.png"))); // NOI18N
        mnHuongDanSuDung.setText("Hướng Dẫn Sử Dụng");
        jmTroGiup.add(mnHuongDanSuDung);

        mnLienHe.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/contacts.png"))); // NOI18N
        mnLienHe.setText("Liên Hệ");
        jmTroGiup.add(mnLienHe);

        mnThongTinPhanMem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Hinh/InfoBox-icon.png"))); // NOI18N
        mnThongTinPhanMem.setText("Thông Tin Phần Mềm");
        jmTroGiup.add(mnThongTinPhanMem);
        jmTroGiup.add(jSeparator10);

        jMenuBarMain.add(jmTroGiup);

        setJMenuBar(jMenuBarMain);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedChungTu)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedChungTu)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void mnGiuongActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnGiuongActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(4, true);
        jTabbedChungTu.setSelectedIndex(4);
    }//GEN-LAST:event_mnGiuongActionPerformed

    private void mnPhongActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnPhongActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(3, true);
        jTabbedChungTu.setSelectedIndex(3);
    }//GEN-LAST:event_mnPhongActionPerformed

    private void mnChuyenTauActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnChuyenTauActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(6, true);
        jTabbedChungTu.setSelectedIndex(6);
    }//GEN-LAST:event_mnChuyenTauActionPerformed

    private void mnKetThucActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnKetThucActionPerformed
        // TODO add your handling code here:
        this.dispose();
    }//GEN-LAST:event_mnKetThucActionPerformed

    private void mnThongTinDonViActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnThongTinDonViActionPerformed
        // TODO add your handling code here:
        
    }//GEN-LAST:event_mnThongTinDonViActionPerformed

    private void mnDoiMatKhauActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnDoiMatKhauActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_mnDoiMatKhauActionPerformed

    private void mnDoanTauActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnDoanTauActionPerformed
        // TODO add your handling code here:
         jTabbedChungTu.setVisible(true);
         jTabbedChungTu.setEnabledAt(0, true);
         jTabbedChungTu.setSelectedIndex(0);
         DanhSachDoanTau();
    }//GEN-LAST:event_mnDoanTauActionPerformed

    private void btSuaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSuaActionPerformed
        // TODO add your handling code here:
        FormSuaDoanTau frm; 
        try {
            frm = new FormSuaDoanTau(this); // Tên form
            frm.setLocationRelativeTo(null);
            frm.trans = DoanTau;
            frm.setVisible(true);
        } catch (SQLException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btSuaActionPerformed

    private void btThemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThemActionPerformed
        // TODO add your handling code here:
        FormThemDoanTau frm; 
        try {
            frm = new FormThemDoanTau(this);
            frm.setLocationRelativeTo(null);
            frm.setVisible(true);
        } catch (SQLException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        
    }//GEN-LAST:event_btThemActionPerformed
    private void mnDoanhThuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnDoanhThuActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(16, true);
        jTabbedChungTu.setSelectedIndex(16);
    }//GEN-LAST:event_mnDoanhThuActionPerformed

    private void btSua1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua1ActionPerformed
        // TODO add your handling code here:
        FormSuaToaTau frm; 
        try {
            frm = new FormSuaToaTau(this); // Tên form
            frm.setLocationRelativeTo(null);
            frm.trans = ToaTau;
            frm.setVisible(true);
        } catch (SQLException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btSua1ActionPerformed

    private void btThem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem1ActionPerformed
        // TODO add your handling code here:
       FormThemToaTau frm; 
        try {
            frm = new FormThemToaTau(this);
            frm.setLocationRelativeTo(null);
            frm.setVisible(true);
        } catch (SQLException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btThem1ActionPerformed

    private void btSua14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua14ActionPerformed
        // TODO add your handling code here:
        FormSuaGhe frm = new FormSuaGhe(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua14ActionPerformed

    private void btThem14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem14ActionPerformed
        // TODO add your handling code here:
        FormThemGhe frm; 
        try {
            frm = new FormThemGhe(this);
            frm.setLocationRelativeTo(null);
            frm.setVisible(true);
        } catch (SQLException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btThem14ActionPerformed

    private void btSua15ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua15ActionPerformed
        // TODO add your handling code here:
        FormSuaPhong frm = new FormSuaPhong(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua15ActionPerformed

    private void btThem15ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem15ActionPerformed
        // TODO add your handling code here:
        FormThemPhong frm = new FormThemPhong(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThem15ActionPerformed

    private void btSua16ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua16ActionPerformed
        // TODO add your handling code here:
        FormSuaGiuong frm = new FormSuaGiuong(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua16ActionPerformed

    private void btThem16ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem16ActionPerformed
        // TODO add your handling code here:
        FormThemGiuong frm = new FormThemGiuong(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThem16ActionPerformed

    private void btSua17ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua17ActionPerformed
        // TODO add your handling code here:
        FormSuaTuyenTau frm = new FormSuaTuyenTau(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua17ActionPerformed

    private void btThem17ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem17ActionPerformed
        // TODO add your handling code here:
        FormThemTuyenTau frm = new FormThemTuyenTau(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThem17ActionPerformed

    private void btSua18ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua18ActionPerformed
        // TODO add your handling code here:
        FormSuaChuyenTau frm = new FormSuaChuyenTau(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua18ActionPerformed

    private void btThem18ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem18ActionPerformed
        // TODO add your handling code here:
        FormThemChuyenTau frm = new FormThemChuyenTau(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThem18ActionPerformed

    private void btSua19ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua19ActionPerformed
        // TODO add your handling code here:
        FormSuaGaTau frm = new FormSuaGaTau(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua19ActionPerformed

    private void btThem19ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem19ActionPerformed
        // TODO add your handling code here:
        FormThemGaTau frm = new FormThemGaTau(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThem19ActionPerformed

    private void btSua20ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua20ActionPerformed
        // TODO add your handling code here:
        FormSuaVeTau frm = new FormSuaVeTau(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua20ActionPerformed

    private void btThem20ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem20ActionPerformed
        // TODO add your handling code here:
        FormThemVeTau frm = new FormThemVeTau(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThem20ActionPerformed

    private void btSua21ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua21ActionPerformed
        // TODO add your handling code here:
        FormSuaNhanVien frm = new FormSuaNhanVien(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua21ActionPerformed

    private void btThem21ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem21ActionPerformed
        // TODO add your handling code here:
        FormThemNhanVien frm = new FormThemNhanVien(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThem21ActionPerformed

    private void btSua22ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSua22ActionPerformed
        // TODO add your handling code here:
        FormSuaKhachHang frm = new FormSuaKhachHang(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSua22ActionPerformed

    private void btThem22ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThem22ActionPerformed
        // TODO add your handling code here:
        FormThemKhachHang frm = new FormThemKhachHang(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThem22ActionPerformed

    private void btSuaPhanCongActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSuaPhanCongActionPerformed
        // TODO add your handling code here:
        FormSuaPhanCong frm = new FormSuaPhanCong(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btSuaPhanCongActionPerformed

    private void btThemPhanCongActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThemPhanCongActionPerformed
        // TODO add your handling code here:
        FormPhanCong frm = new FormPhanCong(); // Tên form
        frm.setLocationRelativeTo(null);
        frm.setVisible(true); 
    }//GEN-LAST:event_btThemPhanCongActionPerformed

    private void btSuaQuiDinhVTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSuaQuiDinhVTActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btSuaQuiDinhVTActionPerformed

    private void btThemQuiDinhVTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThemQuiDinhVTActionPerformed
        // TODO add your handling code here:
        
    }//GEN-LAST:event_btThemQuiDinhVTActionPerformed

    private void btSuaQuiDinhDTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSuaQuiDinhDTActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btSuaQuiDinhDTActionPerformed

    private void btThemQuiDinhDTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThemQuiDinhDTActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btThemQuiDinhDTActionPerformed

    private void btDanhThuTheoNgayActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btDanhThuTheoNgayActionPerformed
        // TODO add your handling code here:
        jTabbedPaneDanhThu.setVisible(true);
        jTabbedPaneDanhThu.setEnabledAt(2, true);
        jTabbedPaneDanhThu.setSelectedIndex(2);
        // Store Chỉ nhận java.sql.Date: => có thể lấy Date từ trên jDateChooser rồi chuyển thành chuỗi, cắt chuỗi để ra Date.
    }//GEN-LAST:event_btDanhThuTheoNgayActionPerformed

    private void btDongActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btDongActionPerformed
        // TODO add your handling code here:
        this.dispose();
    }//GEN-LAST:event_btDongActionPerformed

    private void btXemTraCuuChuyenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btXemTraCuuChuyenActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btXemTraCuuChuyenActionPerformed

    private void cbThoiGianDanhThuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbThoiGianDanhThuActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_cbThoiGianDanhThuActionPerformed

    private void btInActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btInActionPerformed
        try {
            // TODO add your handling code here:
            jTableDoanTau.print();
        } catch (PrinterException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btInActionPerformed

    private void mnToaTauActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnToaTauActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(1, true);
        jTabbedChungTu.setSelectedIndex(1);
        DanhSachToaTau();
    }//GEN-LAST:event_mnToaTauActionPerformed

    private void mnGheActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnGheActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(2, true);
        jTabbedChungTu.setSelectedIndex(2);
    }//GEN-LAST:event_mnGheActionPerformed

    private void mnTuyenTauActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnTuyenTauActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(5, true);
        jTabbedChungTu.setSelectedIndex(5);
    }//GEN-LAST:event_mnTuyenTauActionPerformed

    private void mnGaTauActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnGaTauActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(7, true);
        jTabbedChungTu.setSelectedIndex(7);
    }//GEN-LAST:event_mnGaTauActionPerformed

    private void mnVeTauActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnVeTauActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(8, true);
        jTabbedChungTu.setSelectedIndex(8);
    }//GEN-LAST:event_mnVeTauActionPerformed

    private void mnNhanVienActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnNhanVienActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(9, true);
        jTabbedChungTu.setSelectedIndex(9);
    }//GEN-LAST:event_mnNhanVienActionPerformed

    private void btXuatActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btXuatActionPerformed
        // TODO add your handling code here:
        Workbook wb = new HSSFWorkbook();
        Sheet personSheet = wb.createSheet("DoanTauList");
        ArrayList<DoanTau_DTO> Array = DoanTau_BUS.GetALL();
        int row = 0;
        for(DoanTau_DTO Tau: Array){
         Row dataRow =  personSheet.createRow(row);
         
         Cell MaDTCell = dataRow.createCell(0);
         MaDTCell.setCellValue(Tau.getMaDT());
         
         Cell NameCell = dataRow.createCell(1);
         NameCell.setCellValue(Tau.getTenDT());
         
         Cell LoaiDTCell = dataRow.createCell(2);
         LoaiDTCell.setCellValue(Tau.getLoaiDT());
         
         Cell HangSXCell = dataRow.createCell(3);
         HangSXCell.setCellValue(Tau.getHangSX());
         
         Cell NgayHDCell = dataRow.createCell(4);
         NgayHDCell.setCellValue(Tau.getNgayHD().toString());

         row++;
        }
        String outputDirPath = "DoanTau.xls";
        
        FileOutputStream fileOut = null;
        try {
            fileOut = new FileOutputStream(outputDirPath);
        } catch (FileNotFoundException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            wb.write(fileOut);
        } catch (IOException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            fileOut.close();
            JOptionPane.showMessageDialog(this, "Xuất File excel Thành Công.");
        } catch (IOException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btXuatActionPerformed

    private void btNapLaiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btNapLaiActionPerformed
        // TODO add your handling code here:
        DanhSachDoanTau();
    }//GEN-LAST:event_btNapLaiActionPerformed

    private void btXoaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btXoaActionPerformed
        // TODO add your handling code here:
        boolean flag = DoanTau_BUS.Delete(DoanTau.getMaDT());
        if(!flag)
            JOptionPane.showMessageDialog(this, "Không Thể Xóa Đoàn Tàu.");
        else
            DanhSachDoanTau();
    }//GEN-LAST:event_btXoaActionPerformed

    private void jTableDoanTauMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTableDoanTauMousePressed
        // TODO add your handling code here:
        int Row = jTableDoanTau.getSelectedRow();
        DoanTau.setMaDT((String)jTableDoanTau.getValueAt(Row, 0));
        DoanTau.setTenDT((String)jTableDoanTau.getValueAt(Row, 1));
        DoanTau.setLoaiDT((int)jTableDoanTau.getValueAt(Row, 2));
        DoanTau.setHangSX((String)jTableDoanTau.getValueAt(Row, 3));
        DoanTau.setNgayHD((Date)jTableDoanTau.getValueAt(Row, 4));
    }//GEN-LAST:event_jTableDoanTauMousePressed

    private void jTableToaTauMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTableToaTauMousePressed
        // TODO add your handling code here:
        int Row = jTableToaTau.getSelectedRow();
        ToaTau.setMaToa((String)jTableToaTau.getValueAt(Row, 0));
        ToaTau.setTenToa((String)jTableToaTau.getValueAt(Row, 1));
        ToaTau.setLoaiToa((int)jTableToaTau.getValueAt(Row, 2));
        ToaTau.setSoLuongCho((int)jTableToaTau.getValueAt(Row, 3));
        ToaTau.setMaDT((String)jTableToaTau.getValueAt(Row, 4));        
    }//GEN-LAST:event_jTableToaTauMousePressed

    private void btXoa1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btXoa1ActionPerformed
        // TODO add your handling code here:
         boolean flag = ToaTau_BUS.Delete(ToaTau.getMaToa());
        if(!flag)
            JOptionPane.showMessageDialog(this, "Không Thể Xóa Toa Tàu.");
        else
            DanhSachToaTau();
    }//GEN-LAST:event_btXoa1ActionPerformed

    private void btDong1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btDong1ActionPerformed
        // TODO add your handling code here:
        this.dispose();
    }//GEN-LAST:event_btDong1ActionPerformed

    private void btNapLai1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btNapLai1ActionPerformed
        // TODO add your handling code here:
        DanhSachToaTau();
    }//GEN-LAST:event_btNapLai1ActionPerformed

    private void btXuat1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btXuat1ActionPerformed
        // TODO add your handling code here:
        Workbook wb = new HSSFWorkbook();
        Sheet personSheet = wb.createSheet("ToaTauList");
        ArrayList<ToaTau_DTO> Array = ToaTau_BUS.GetALL();
        int row = 0;
        for(ToaTau_DTO Tau: Array){
         Row dataRow =  personSheet.createRow(row);
         
         Cell MaToaCell = dataRow.createCell(0);
         MaToaCell.setCellValue(Tau.getMaToa());
         
         Cell NameCell = dataRow.createCell(1);
         NameCell.setCellValue(Tau.getTenToa());
         
         Cell LoaiToaCell = dataRow.createCell(2);
         LoaiToaCell.setCellValue(Tau.getLoaiToa());
         
         Cell SoLuongChoCell = dataRow.createCell(3);
         SoLuongChoCell.setCellValue(Tau.getSoLuongCho());
         
         Cell MaDTCell = dataRow.createCell(4);
         MaDTCell.setCellValue(Tau.getMaDT());

         row++;
        }
        String outputDirPath = "ToaTau.xls";
        
        FileOutputStream fileOut = null;
        try {
            fileOut = new FileOutputStream(outputDirPath);
        } catch (FileNotFoundException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            wb.write(fileOut);
        } catch (IOException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            fileOut.close();
            JOptionPane.showMessageDialog(this, "Xuất File excel Thành Công.");
        } catch (IOException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btXuat1ActionPerformed

    private void btIn1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btIn1ActionPerformed
        // TODO add your handling code here:
        try {
            // TODO add your handling code here:
            jTableToaTau.print();
        } catch (PrinterException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btIn1ActionPerformed

    private void jTableGheMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTableGheMousePressed
        // TODO add your handling code here:
        int Row = jTableGhe.getSelectedRow();
        Ghe.setMaGhe((int)jTableGhe.getValueAt(Row, 0));
        Ghe.setTrangThai((int)jTableGhe.getValueAt(Row, 1));
        Ghe.setMaToa((String)jTableGhe.getValueAt(Row, 2));
    }//GEN-LAST:event_jTableGheMousePressed

    private void btDong19ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btDong19ActionPerformed
        // TODO add your handling code here:
        this.dispose();
    }//GEN-LAST:event_btDong19ActionPerformed

    private void btXoa14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btXoa14ActionPerformed
        // TODO add your handling code here:
         boolean flag = Ghe_BUS.Delete(Ghe.getMaGhe());
        if(!flag)
            JOptionPane.showMessageDialog(this, "Không Thể Xóa Ghế.");
        else
            DanhSachGhe();
    }//GEN-LAST:event_btXoa14ActionPerformed

    private void btNapLai14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btNapLai14ActionPerformed
        // TODO add your handling code here:
        DanhSachGhe();
    }//GEN-LAST:event_btNapLai14ActionPerformed

    private void btXuat19ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btXuat19ActionPerformed
        // TODO add your handling code here:
        Workbook wb = new HSSFWorkbook();
        Sheet personSheet = wb.createSheet("GheList");
        ArrayList<Ghe_DTO> Array = Ghe_BUS.GetALL();
        int row = 0;
        for(Ghe_DTO Tau: Array){
         Row dataRow =  personSheet.createRow(row);
         
         Cell MaToaCell = dataRow.createCell(0);
         MaToaCell.setCellValue(Tau.getMaGhe());
                 
         Cell LoaiToaCell = dataRow.createCell(2);
         LoaiToaCell.setCellValue(Tau.isTrangThai());
         
         Cell MaDTCell = dataRow.createCell(4);
         MaDTCell.setCellValue(Tau.getMaToa());

         row++;
        }
        String outputDirPath = "Ghe.xls";
        
        FileOutputStream fileOut = null;
        try {
            fileOut = new FileOutputStream(outputDirPath);
        } catch (FileNotFoundException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            wb.write(fileOut);
        } catch (IOException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            fileOut.close();
            JOptionPane.showMessageDialog(this, "Xuất File excel Thành Công.");
        } catch (IOException ex) {
            Logger.getLogger(FormMain.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_btXuat19ActionPerformed

    private void btIn18ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btIn18ActionPerformed
        // TODO add your handling code here:
        
    }//GEN-LAST:event_btIn18ActionPerformed

    private void jTableToaTauKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTableToaTauKeyTyped
        // TODO add your handling code here:
    }//GEN-LAST:event_jTableToaTauKeyTyped

    private void mnChungTuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnChungTuActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(14, true);
        jTabbedChungTu.setSelectedIndex(14);
    }//GEN-LAST:event_mnChungTuActionPerformed

    private void mnPhanCongActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnPhanCongActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(15, true);
        jTabbedChungTu.setSelectedIndex(15);
    }//GEN-LAST:event_mnPhanCongActionPerformed

    private void mnThayDoiQuiDinhActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnThayDoiQuiDinhActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(13, true);
        jTabbedChungTu.setSelectedIndex(13);
    }//GEN-LAST:event_mnThayDoiQuiDinhActionPerformed

    private void mnTraCuuChuyenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnTraCuuChuyenActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(12, true);
        jTabbedChungTu.setSelectedIndex(12);
    }//GEN-LAST:event_mnTraCuuChuyenActionPerformed

    private void mnThaoTacVeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnThaoTacVeActionPerformed
        // TODO add your handling code here:
        jTabbedChungTu.setVisible(true);
        jTabbedChungTu.setEnabledAt(11, true);
        jTabbedChungTu.setSelectedIndex(11);
    }//GEN-LAST:event_mnThaoTacVeActionPerformed

    private void btDanhThuTheoKhachHangActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btDanhThuTheoKhachHangActionPerformed
        // TODO add your handling code here:
        jTabbedPaneDanhThu.setVisible(true);
        jTabbedPaneDanhThu.setEnabledAt(1, true);
        jTabbedPaneDanhThu.setSelectedIndex(1);
    }//GEN-LAST:event_btDanhThuTheoKhachHangActionPerformed

    private void btDanhThuTheoNhanVienActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btDanhThuTheoNhanVienActionPerformed
        // TODO add your handling code here:
        jTabbedPaneDanhThu.setVisible(true);
        jTabbedPaneDanhThu.setEnabledAt(0, true);
        jTabbedPaneDanhThu.setSelectedIndex(0);
    }//GEN-LAST:event_btDanhThuTheoNhanVienActionPerformed

    private void btThayDoiQuiDinhVeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThayDoiQuiDinhVeActionPerformed
        // TODO add your handling code here:
        jTabbedPaneThayDoiQuyDinh.setVisible(true);
        jTabbedPaneThayDoiQuyDinh.setEnabledAt(0, true);
        jTabbedPaneThayDoiQuyDinh.setSelectedIndex(0);
    }//GEN-LAST:event_btThayDoiQuiDinhVeActionPerformed

    private void btThayDoiQuiDinhDoanTauActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btThayDoiQuiDinhDoanTauActionPerformed
        // TODO add your handling code here:
        jTabbedPaneThayDoiQuyDinh.setVisible(true);
        jTabbedPaneThayDoiQuyDinh.setEnabledAt(1, true);
        jTabbedPaneThayDoiQuyDinh.setSelectedIndex(1);
    }//GEN-LAST:event_btThayDoiQuiDinhDoanTauActionPerformed

    private void btXuatDanhThuNVActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btXuatDanhThuNVActionPerformed
        // TODO add your handling code here:
        // Nhận Từ Danh Sách Store Duyệt Theo ResultSet.
    }//GEN-LAST:event_btXuatDanhThuNVActionPerformed

    private void cbThoiGianDanhThuNVActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbThoiGianDanhThuNVActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_cbThoiGianDanhThuNVActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(FormMain.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new FormMain().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btDanhThuTheoKhachHang;
    private javax.swing.JButton btDanhThuTheoNgay;
    private javax.swing.JButton btDanhThuTheoNhanVien;
    private javax.swing.JButton btDong;
    private javax.swing.JButton btDong1;
    private javax.swing.JButton btDong19;
    private javax.swing.JButton btDong20;
    private javax.swing.JButton btDong21;
    private javax.swing.JButton btDong22;
    private javax.swing.JButton btDong23;
    private javax.swing.JButton btDong24;
    private javax.swing.JButton btDong25;
    private javax.swing.JButton btDong26;
    private javax.swing.JButton btDong27;
    private javax.swing.JButton btDongChungTu;
    private javax.swing.JButton btDongDanhThu;
    private javax.swing.JButton btDongDanhThuKH;
    private javax.swing.JButton btDongDanhThuNV;
    private javax.swing.JButton btDongPhanCong;
    private javax.swing.JButton btDongQuiDinhDT;
    private javax.swing.JButton btDongQuiDinhVT;
    private javax.swing.JButton btDongTraCuuChuyen;
    private javax.swing.JButton btIn;
    private javax.swing.JButton btIn1;
    private javax.swing.JButton btIn18;
    private javax.swing.JButton btIn19;
    private javax.swing.JButton btIn20;
    private javax.swing.JButton btIn21;
    private javax.swing.JButton btIn22;
    private javax.swing.JButton btIn23;
    private javax.swing.JButton btIn24;
    private javax.swing.JButton btIn25;
    private javax.swing.JButton btIn26;
    private javax.swing.JButton btInChungTu;
    private javax.swing.JButton btInPhanCong;
    private javax.swing.JButton btInQuiDinhDT;
    private javax.swing.JButton btInQuiDinhVT;
    private javax.swing.JButton btInTraCuuChuyen;
    private javax.swing.JButton btNapLai;
    private javax.swing.JButton btNapLai1;
    private javax.swing.JButton btNapLai14;
    private javax.swing.JButton btNapLai15;
    private javax.swing.JButton btNapLai16;
    private javax.swing.JButton btNapLai17;
    private javax.swing.JButton btNapLai18;
    private javax.swing.JButton btNapLai19;
    private javax.swing.JButton btNapLai20;
    private javax.swing.JButton btNapLai21;
    private javax.swing.JButton btNapLai22;
    private javax.swing.JButton btNapLaiPhanCong;
    private javax.swing.JButton btNapLaiQuiDinhDT;
    private javax.swing.JButton btNapLaiQuiDinhVT;
    private javax.swing.JButton btSua;
    private javax.swing.JButton btSua1;
    private javax.swing.JButton btSua14;
    private javax.swing.JButton btSua15;
    private javax.swing.JButton btSua16;
    private javax.swing.JButton btSua17;
    private javax.swing.JButton btSua18;
    private javax.swing.JButton btSua19;
    private javax.swing.JButton btSua20;
    private javax.swing.JButton btSua21;
    private javax.swing.JButton btSua22;
    private javax.swing.JButton btSuaPhanCong;
    private javax.swing.JButton btSuaQuiDinhDT;
    private javax.swing.JButton btSuaQuiDinhVT;
    private javax.swing.JButton btThayDoiQuiDinhDoanTau;
    private javax.swing.JButton btThayDoiQuiDinhVe;
    private javax.swing.JButton btThem;
    private javax.swing.JButton btThem1;
    private javax.swing.JButton btThem14;
    private javax.swing.JButton btThem15;
    private javax.swing.JButton btThem16;
    private javax.swing.JButton btThem17;
    private javax.swing.JButton btThem18;
    private javax.swing.JButton btThem19;
    private javax.swing.JButton btThem20;
    private javax.swing.JButton btThem21;
    private javax.swing.JButton btThem22;
    private javax.swing.JButton btThemPhanCong;
    private javax.swing.JButton btThemQuiDinhDT;
    private javax.swing.JButton btThemQuiDinhVT;
    private javax.swing.JButton btXemChungTu;
    private javax.swing.JButton btXemDanhThu;
    private javax.swing.JButton btXemDanhThuKH;
    private javax.swing.JButton btXemDanhThuNV;
    private javax.swing.JButton btXemTraCuuChuyen;
    private javax.swing.JButton btXoa;
    private javax.swing.JButton btXoa1;
    private javax.swing.JButton btXoa14;
    private javax.swing.JButton btXoa15;
    private javax.swing.JButton btXoa16;
    private javax.swing.JButton btXoa17;
    private javax.swing.JButton btXoa18;
    private javax.swing.JButton btXoa19;
    private javax.swing.JButton btXoa20;
    private javax.swing.JButton btXoa21;
    private javax.swing.JButton btXoa22;
    private javax.swing.JButton btXoa24QuiDinhVT;
    private javax.swing.JButton btXoaPhanCong;
    private javax.swing.JButton btXoaQuiDinhDT;
    private javax.swing.JButton btXuat;
    private javax.swing.JButton btXuat1;
    private javax.swing.JButton btXuat19;
    private javax.swing.JButton btXuat20;
    private javax.swing.JButton btXuat21;
    private javax.swing.JButton btXuat22;
    private javax.swing.JButton btXuat23;
    private javax.swing.JButton btXuat24;
    private javax.swing.JButton btXuat25;
    private javax.swing.JButton btXuat26;
    private javax.swing.JButton btXuat27;
    private javax.swing.JButton btXuatChungTu;
    private javax.swing.JButton btXuatDanhThu;
    private javax.swing.JButton btXuatDanhThuKH;
    private javax.swing.JButton btXuatDanhThuNV;
    private javax.swing.JButton btXuatPhanCong;
    private javax.swing.JButton btXuatQuiDinhDT;
    private javax.swing.JButton btXuatQuiDinhVT;
    private javax.swing.JButton btXuatTraCuuChuyen;
    private javax.swing.JComboBox cbGaDenTraCuuChuyen;
    private javax.swing.JComboBox cbGaDiTraCuuChuyen;
    private javax.swing.JComboBox cbThoiGianChungTu;
    private javax.swing.JComboBox cbThoiGianDanhThu;
    private javax.swing.JComboBox cbThoiGianDanhThuNV;
    private javax.swing.JComboBox cbThoiGianKhachHang;
    private com.toedter.calendar.JDateChooser jDateChooserDenNgay;
    private com.toedter.calendar.JDateChooser jDateChooserDenNgayChungTu;
    private com.toedter.calendar.JDateChooser jDateChooserDenNgayKH;
    private com.toedter.calendar.JDateChooser jDateChooserDenNgayNV;
    private com.toedter.calendar.JDateChooser jDateChooserDenNgayTraCuuChuyen;
    private com.toedter.calendar.JDateChooser jDateChooserTuNgay;
    private com.toedter.calendar.JDateChooser jDateChooserTuNgayChungTu;
    private com.toedter.calendar.JDateChooser jDateChooserTuNgayKH;
    private com.toedter.calendar.JDateChooser jDateChooserTuNgayNV;
    private com.toedter.calendar.JDateChooser jDateChooserTuNgayTraCuuChuyen;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JMenuBar jMenuBarMain;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanelKhachHang;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane10;
    private javax.swing.JScrollPane jScrollPane11;
    private javax.swing.JScrollPane jScrollPane12;
    private javax.swing.JScrollPane jScrollPane13;
    private javax.swing.JScrollPane jScrollPane14;
    private javax.swing.JScrollPane jScrollPane15;
    private javax.swing.JScrollPane jScrollPane16;
    private javax.swing.JScrollPane jScrollPane17;
    private javax.swing.JScrollPane jScrollPane18;
    private javax.swing.JScrollPane jScrollPane19;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JScrollPane jScrollPane7;
    private javax.swing.JScrollPane jScrollPane8;
    private javax.swing.JScrollPane jScrollPane9;
    private javax.swing.JPopupMenu.Separator jSeparator1;
    private javax.swing.JPopupMenu.Separator jSeparator10;
    private javax.swing.JPopupMenu.Separator jSeparator2;
    private javax.swing.JPopupMenu.Separator jSeparator3;
    private javax.swing.JPopupMenu.Separator jSeparator4;
    private javax.swing.JPopupMenu.Separator jSeparator5;
    private javax.swing.JPopupMenu.Separator jSeparator6;
    private javax.swing.JPopupMenu.Separator jSeparator7;
    private javax.swing.JPopupMenu.Separator jSeparator8;
    private javax.swing.JPopupMenu.Separator jSeparator9;
    private javax.swing.JTabbedPane jTabbedChungTu;
    private javax.swing.JTabbedPane jTabbedPaneDanhThu;
    private javax.swing.JTabbedPane jTabbedPaneThayDoiQuyDinh;
    private javax.swing.JTable jTable10;
    private javax.swing.JTable jTable11;
    private javax.swing.JTable jTable4;
    private javax.swing.JTable jTable5;
    private javax.swing.JTable jTable6;
    private javax.swing.JTable jTable7;
    private javax.swing.JTable jTable8;
    private javax.swing.JTable jTable9;
    private javax.swing.JTable jTableChungTu;
    private javax.swing.JTable jTableDanhThuKH;
    private javax.swing.JTable jTableDanhThuNV;
    private javax.swing.JTable jTableDanhThuNgay;
    private javax.swing.JTable jTableDoanTau;
    private javax.swing.JTable jTableGhe;
    private javax.swing.JTable jTablePhanCong;
    private javax.swing.JTable jTableQuiDinhDoanTau;
    private javax.swing.JTable jTableQuiDinhVe;
    private javax.swing.JTable jTableToaTau;
    private javax.swing.JTable jTableTraCuuChuyen;
    private javax.swing.JMenu jmChucNang;
    private javax.swing.JMenu jmDanhMuc;
    private javax.swing.JMenu jmHeThong;
    private javax.swing.JMenu jmTroGiup;
    private javax.swing.JPanel jpnChungTu;
    private javax.swing.JPanel jpnDoanTau;
    private javax.swing.JPanel jpnDoanhThu;
    private javax.swing.JPanel jpnGaTau;
    private javax.swing.JPanel jpnGhe;
    private javax.swing.JPanel jpnGiuong;
    private javax.swing.JPanel jpnNhanVien;
    private javax.swing.JPanel jpnPhanCong;
    private javax.swing.JPanel jpnPhong;
    private javax.swing.JPanel jpnThaoTacVe;
    private javax.swing.JPanel jpnThayDoiQuiDinh;
    private javax.swing.JPanel jpnThayDoiQuiDinhDoanTau;
    private javax.swing.JPanel jpnThayDoiQuiDinhVe;
    private javax.swing.JPanel jpnTheoKhachHang;
    private javax.swing.JPanel jpnTheoNgay;
    private javax.swing.JPanel jpnTheoNhanVien;
    private javax.swing.JPanel jpnToaTau;
    private javax.swing.JPanel jpnTraCuuTuyen;
    private javax.swing.JPanel jpnTuyenTau;
    private javax.swing.JPanel jpnVeTau;
    private javax.swing.JPanel lpnChuyenTau;
    private javax.swing.JMenuItem mnChungTu;
    private javax.swing.JMenuItem mnChuyenTau;
    private javax.swing.JMenuItem mnDoanTau;
    private javax.swing.JMenuItem mnDoanhThu;
    private javax.swing.JMenuItem mnDoiMatKhau;
    private javax.swing.JMenuItem mnGaTau;
    private javax.swing.JMenuItem mnGhe;
    private javax.swing.JMenuItem mnGiuong;
    private javax.swing.JMenuItem mnHuongDanSuDung;
    private javax.swing.JMenuItem mnKetThuc;
    private javax.swing.JMenuItem mnKhachHang;
    private javax.swing.JMenuItem mnLienHe;
    private javax.swing.JMenuItem mnNhanVien;
    private javax.swing.JMenuItem mnNhatKyHeThong;
    private javax.swing.JMenuItem mnPhanCong;
    private javax.swing.JMenuItem mnPhanQuyen;
    private javax.swing.JMenuItem mnPhong;
    private javax.swing.JMenuItem mnPhucHoi;
    private javax.swing.JMenuItem mnSaoLuu;
    private javax.swing.JMenuItem mnThaoTacVe;
    private javax.swing.JMenuItem mnThayDoiQuiDinh;
    private javax.swing.JMenuItem mnThongTinDonVi;
    private javax.swing.JMenuItem mnThongTinPhanMem;
    private javax.swing.JMenuItem mnToaTau;
    private javax.swing.JMenuItem mnTraCuuChuyen;
    private javax.swing.JMenuItem mnTuyenTau;
    private javax.swing.JMenuItem mnVeTau;
    // End of variables declaration//GEN-END:variables

}